class Kernighan {
    public static void main(String args[]) {
        int sum = 0,i = 0,j = 0;
        for(i=1;i<=5322;i++) {
            sum=sum+i;
            }
            System.out.println(sum);
    }
}
